package tiepbm.app.util.lazyLoader;

import java.io.File;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

import android.content.Context;

public class APKLoader {
	private FileCache fileCache;
	private ExecutorService executorService;

	public APKLoader(Context context) {
		fileCache = new FileCache(context);
		executorService = Executors.newFixedThreadPool(5);
	}
	public String displayAPK(String url) {
		File f = fileCache.getFile(url);
		return f.getPath();
	}
	public void clearCache() {
		fileCache.clear();
	}

}
